home *** CD-ROM | disk | FTP | other *** search
-
- /*
- * This file was generated by the SOM Compiler.
- * FileName: HIStaticPanels.h.
- * Generated using:
- * SOM Precompiler somipc: 2.18
- * SOM Emitter emith.dll: 2.33
- */
-
- #ifndef SOM_HIVisualSeparator_h
- #define SOM_HIVisualSeparator_h
-
-
- /*
- * Passthru lines: File: "C.h", "before"
- */
- #include <HIStaticPanelTypes.h>
-
- #include <som.h>
-
- /*
- * -- This emitter treats Method Tokens as Thunks by default.
- * -- Use the sc modifier "nothunks" to change this default
- */
- #undef somresolve_
- #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
-
- /*
- * Define the class name as an object type
- */
- #ifndef HIVisualSeparator
- #define HIVisualSeparator SOMObject
- #endif
- #include <HIPanels.h>
-
- /*
- * Start of user-defined types:
- */
- #ifndef SOMClass
- #define SOMClass SOMObject
- #endif /* SOMClass */
- #ifndef SOMObject
- #define SOMObject SOMObject
- #endif /* SOMObject */
- #ifndef HIWindow
- #define HIWindow SOMObject
- #endif /* HIWindow */
- #ifndef HIEmbeddingPanel
- #define HIEmbeddingPanel SOMObject
- #endif /* HIEmbeddingPanel */
-
- /*
- * End of user-defined types.
- */
-
- #define HIVisualSeparator_MajorVersion 0
- #define HIVisualSeparator_MinorVersion 0
-
- /*
- * External name shortening if required
- */
- #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
- #define HIVisualSeparatorClassData d
- #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
- /*--------------Migration------------*/
-
- #ifdef OLDIBMSOMAPISUPPORT
- #define HIVisualSeparator_classObj somNewClassReference(HIVisualSeparator)
- #define _HIVisualSeparator HIVisualSeparator_classObj
- #define HIVisualSeparatorCClassData HIVisualSeparatorClassData
- #define HIVisualSeparatorNewClass(major,minor) somNewVersionedClassReference(HIVisualSeparator,major,minor)
- #endif
-
- /* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
- #define HIVisualSeparatorMetaClass SOMClass
-
- #if PRAGMA_ALIGN_SUPPORTED
- # pragma options align=power
- #endif
-
- /*
- * Declare the class data structure
- */
- SOMEXTERN struct HIVisualSeparatorClassDataStructure {
- #ifdef OLDIBMSOMAPISUPPORT
- SOMAny *classObject; /* always zero, use somNewClassReference instead */
- #else
- long zero;
- #endif
- somStaticClassInfo *sci;
- somDToken instanceDataToken;
- long reserved [3];
- somMToken InitVisualSeparator;
- somMToken GetSeparatorType;
- somMToken SetSeparatorType;
- } SOMDLINK HIVisualSeparatorClassData;
-
- #if PRAGMA_ALIGN_SUPPORTED
- # pragma options align=reset
- #endif
-
- #if !defined(HIVisualSeparator_Class_Source) && !defined(SOM_Module_histaticpanels_Source)
- #if PRAGMA_IMPORT_SUPPORTED
- #pragma import list HIVisualSeparatorClassData
- #endif
- #endif
-
-
- /*
- * New macro for HIVisualSeparator
- */
- #define HIVisualSeparatorNew() somNewObject(HIVisualSeparator)
-
- /*
- * New Method: InitVisualSeparator
- */
- typedef OSStatus (SOMLINK *somTD_HIVisualSeparator_InitVisualSeparator)(HIVisualSeparator *somSelf, Environment *ev,
- RefLabel* identifier,
- HIWindow* window,
- Rect* bounds,
- HIVisualSeparatorType separatorType);
- #define somMD_HIVisualSeparator_InitVisualSeparator "::HIVisualSeparator::InitVisualSeparator"
- #define HIVisualSeparator_InitVisualSeparator(somSelf,ev,identifier,window,bounds,separatorType) \
- (SOM_Resolve(somSelf, HIVisualSeparator, InitVisualSeparator) \
- (somSelf,ev,identifier,window,bounds,separatorType))
- #ifndef SOMGD_InitVisualSeparator
- #if defined _InitVisualSeparator || defined __InitVisualSeparator
- #undef _InitVisualSeparator
- #undef __InitVisualSeparator
- #define SOMGD_InitVisualSeparator 1
- #else
- #define _InitVisualSeparator HIVisualSeparator_InitVisualSeparator
- #endif /* _InitVisualSeparator */
- #endif /* SOMGD_InitVisualSeparator */
-
- /*
- * New Method: GetSeparatorType
- */
- typedef HIVisualSeparatorType (SOMLINK *somTD_HIVisualSeparator_GetSeparatorType)(HIVisualSeparator *somSelf, Environment *ev);
- #define somMD_HIVisualSeparator_GetSeparatorType "::HIVisualSeparator::GetSeparatorType"
- #define HIVisualSeparator_GetSeparatorType(somSelf,ev) \
- (SOM_Resolve(somSelf, HIVisualSeparator, GetSeparatorType) \
- (somSelf,ev))
- #ifndef SOMGD_GetSeparatorType
- #if defined _GetSeparatorType || defined __GetSeparatorType
- #undef _GetSeparatorType
- #undef __GetSeparatorType
- #define SOMGD_GetSeparatorType 1
- #else
- #define _GetSeparatorType HIVisualSeparator_GetSeparatorType
- #endif /* _GetSeparatorType */
- #endif /* SOMGD_GetSeparatorType */
-
- /*
- * New Method: SetSeparatorType
- */
- typedef void (SOMLINK *somTD_HIVisualSeparator_SetSeparatorType)(HIVisualSeparator *somSelf, Environment *ev,
- HIVisualSeparatorType separatorType);
- #define somMD_HIVisualSeparator_SetSeparatorType "::HIVisualSeparator::SetSeparatorType"
- #define HIVisualSeparator_SetSeparatorType(somSelf,ev,separatorType) \
- (SOM_Resolve(somSelf, HIVisualSeparator, SetSeparatorType) \
- (somSelf,ev,separatorType))
- #ifndef SOMGD_SetSeparatorType
- #if defined _SetSeparatorType || defined __SetSeparatorType
- #undef _SetSeparatorType
- #undef __SetSeparatorType
- #define SOMGD_SetSeparatorType 1
- #else
- #define _SetSeparatorType HIVisualSeparator_SetSeparatorType
- #endif /* _SetSeparatorType */
- #endif /* SOMGD_SetSeparatorType */
- #ifndef SOM_DONT_USE_INHERITED_MACROS
- #define HIVisualSeparator_GetEmbeddingParent HIPanel_GetEmbeddingParent
- #define HIVisualSeparator_InitPanel HIPanel_InitPanel
- #define HIVisualSeparator_RegisterInterestInAppleEvent HIPanel_RegisterInterestInAppleEvent
- #define HIVisualSeparator_HasValidContent HIPanel_HasValidContent
- #define HIVisualSeparator_GetDeepCollectionItemData HIPanel_GetDeepCollectionItemData
- #define HIVisualSeparator_GetWindow HIObject_GetWindow
- #define HIVisualSeparator_GetPort HIObject_GetPort
- #define HIVisualSeparator_GetRefLabel HIObject_GetRefLabel
- #define HIVisualSeparator_GetCollection HIObject_GetCollection
- #define HIVisualSeparator_Init HIObject_Init
- #define HIVisualSeparator_Terminate HIObject_Terminate
- #define HIVisualSeparator_Clone HIObject_Clone
- #define HIVisualSeparator_Release HIObject_Release
- #define HIVisualSeparator_GetOwnerCount HIObject_GetOwnerCount
- #define HIVisualSeparator_InitFromAERecord HIObject_InitFromAERecord
- #define HIVisualSeparator_WriteToAERecord HIObject_WriteToAERecord
- #define HIVisualSeparator_CalculateOptimalSize HIObject_CalculateOptimalSize
- #define HIVisualSeparator_GetBoundingRect HIObject_GetBoundingRect
- #define HIVisualSeparator_SetBoundingRect HIObject_SetBoundingRect
- #define HIVisualSeparator_SetPosition HIObject_SetPosition
- #define HIVisualSeparator_SetSize HIObject_SetSize
- #define HIVisualSeparator_GetUpdateRect HIObject_GetUpdateRect
- #define HIVisualSeparator_Enable HIObject_Enable
- #define HIVisualSeparator_Disable HIObject_Disable
- #define HIVisualSeparator_IsEnabled HIObject_IsEnabled
- #define HIVisualSeparator_Show HIObject_Show
- #define HIVisualSeparator_Hide HIObject_Hide
- #define HIVisualSeparator_IsVisible HIObject_IsVisible
- #define HIVisualSeparator_HandleAppleEvent HIObject_HandleAppleEvent
- #define HIVisualSeparator_HandleActivate HIObject_HandleActivate
- #define HIVisualSeparator_HandleDeactivate HIObject_HandleDeactivate
- #define HIVisualSeparator_HandleNavigation HIObject_HandleNavigation
- #define HIVisualSeparator_HandleMouseDownInContent HIObject_HandleMouseDownInContent
- #define HIVisualSeparator_HandleMouseMovedInContent HIObject_HandleMouseMovedInContent
- #define HIVisualSeparator_HandleMouseStoppedMovingInContent HIObject_HandleMouseStoppedMovingInContent
- #define HIVisualSeparator_HandleMouseUpInContent HIObject_HandleMouseUpInContent
- #define HIVisualSeparator_TakeUserInputFocus HIObject_TakeUserInputFocus
- #define HIVisualSeparator_ReleaseUserInputFocus HIObject_ReleaseUserInputFocus
- #define HIVisualSeparator_HasUserInputFocus HIObject_HasUserInputFocus
- #define HIVisualSeparator_CanReleaseUserInputFocus HIObject_CanReleaseUserInputFocus
- #define HIVisualSeparator_SetUserInputFocusFlags HIObject_SetUserInputFocusFlags
- #define HIVisualSeparator_GetUserInputFocusFlags HIObject_GetUserInputFocusFlags
- #define HIVisualSeparator_SetTitle HIObject_SetTitle
- #define HIVisualSeparator_GetTitle HIObject_GetTitle
- #define HIVisualSeparator_Draw HIObject_Draw
- #define HIVisualSeparator_Erase HIObject_Erase
- #define HIVisualSeparator_Invalidate HIObject_Invalidate
- #define HIVisualSeparator_GetDrawingMode HIObject_GetDrawingMode
- #define HIVisualSeparator_SetDrawingMode HIObject_SetDrawingMode
- #define HIVisualSeparator_SetBackgroundPattern HIObject_SetBackgroundPattern
- #define HIVisualSeparator_GetBackgroundPattern HIObject_GetBackgroundPattern
- #define HIVisualSeparator_Cut HIObject_Cut
- #define HIVisualSeparator_Copy HIObject_Copy
- #define HIVisualSeparator_Paste HIObject_Paste
- #define HIVisualSeparator_Clear HIObject_Clear
- #define HIVisualSeparator_GetClipboardSupportFlags HIObject_GetClipboardSupportFlags
- #define HIVisualSeparator_AddStateChangeCallback HIObject_AddStateChangeCallback
- #define HIVisualSeparator_RemoveStateChangeCallback HIObject_RemoveStateChangeCallback
- #define HIVisualSeparator_GetHIObjectFromRefLabel HIObject_GetHIObjectFromRefLabel
- #define HIVisualSeparator_GetNewHIObject HIObject_GetNewHIObject
- #define HIVisualSeparator_GetNewHIObjectFromResource HIObject_GetNewHIObjectFromResource
- #define HIVisualSeparator_DrawContent HIObject_DrawContent
- #define HIVisualSeparator_EraseContent HIObject_EraseContent
- #define HIVisualSeparator_TranslatePoint HIObject_TranslatePoint
- #define HIVisualSeparator_TranslateRect HIObject_TranslateRect
- #define HIVisualSeparator_StateChanged HIObject_StateChanged
- #define HIVisualSeparator_SetClipboardSupportFlags HIObject_SetClipboardSupportFlags
- #define HIVisualSeparator_Verify HIObject_Verify
- #define HIVisualSeparator_somInit SOMObject_somInit
- #define HIVisualSeparator_somUninit SOMObject_somUninit
- #define HIVisualSeparator_somDuplicateReference SOMObject_somDuplicateReference
- #define HIVisualSeparator_somCompareReference SOMObject_somCompareReference
- #define HIVisualSeparator_somRelease SOMObject_somRelease
- #define HIVisualSeparator_somFree SOMObject_somFree
- #define HIVisualSeparator_somCanDelete SOMObject_somCanDelete
- #define HIVisualSeparator_somGetClass SOMObject_somGetClass
- #define HIVisualSeparator_somGetClassName SOMObject_somGetClassName
- #define HIVisualSeparator_somGetSize SOMObject_somGetSize
- #define HIVisualSeparator_somIsA SOMObject_somIsA
- #define HIVisualSeparator_somRespondsTo SOMObject_somRespondsTo
- #define HIVisualSeparator_somIsInstanceOf SOMObject_somIsInstanceOf
- #define HIVisualSeparator_somDispatch SOMObject_somDispatch
- #define HIVisualSeparator_somClassDispatch SOMObject_somClassDispatch
- #define HIVisualSeparator_somCastObj SOMObject_somCastObj
- #define HIVisualSeparator_somResetObj SOMObject_somResetObj
- #define HIVisualSeparator_somPrintSelf SOMObject_somPrintSelf
- #define HIVisualSeparator_somDumpSelf SOMObject_somDumpSelf
- #define HIVisualSeparator_somDumpSelfInt SOMObject_somDumpSelfInt
- #endif /* SOM_DONT_USE_INHERITED_MACROS */
-
- #endif /* SOM_HIVisualSeparator_h */
-
- #ifndef SOM_HIStaticPanel_h
- #define SOM_HIStaticPanel_h
-
-
- #include <som.h>
-
- /*
- * -- This emitter treats Method Tokens as Thunks by default.
- * -- Use the sc modifier "nothunks" to change this default
- */
- #undef somresolve_
- #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
-
- /*
- * Define the class name as an object type
- */
- #ifndef HIStaticPanel
- #define HIStaticPanel SOMObject
- #endif
- #include <HIPanels.h>
-
- /*
- * Start of user-defined types:
- */
-
- /*
- * End of user-defined types.
- */
-
- #define HIStaticPanel_MajorVersion 0
- #define HIStaticPanel_MinorVersion 0
-
- /*
- * External name shortening if required
- */
- #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
- #define HIStaticPanelClassData d
- #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
- /*--------------Migration------------*/
-
- #ifdef OLDIBMSOMAPISUPPORT
- #define HIStaticPanel_classObj somNewClassReference(HIStaticPanel)
- #define _HIStaticPanel HIStaticPanel_classObj
- #define HIStaticPanelCClassData HIStaticPanelClassData
- #define HIStaticPanelNewClass(major,minor) somNewVersionedClassReference(HIStaticPanel,major,minor)
- #endif
-
- /* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
- #define HIStaticPanelMetaClass SOMClass
-
- #if PRAGMA_ALIGN_SUPPORTED
- # pragma options align=power
- #endif
-
- /*
- * Declare the class data structure
- */
- SOMEXTERN struct HIStaticPanelClassDataStructure {
- #ifdef OLDIBMSOMAPISUPPORT
- SOMAny *classObject; /* always zero, use somNewClassReference instead */
- #else
- long zero;
- #endif
- somStaticClassInfo *sci;
- somDToken instanceDataToken;
- long reserved [3];
- somMToken InitStaticPanel;
- } SOMDLINK HIStaticPanelClassData;
-
- #if PRAGMA_ALIGN_SUPPORTED
- # pragma options align=reset
- #endif
-
- #if !defined(HIStaticPanel_Class_Source) && !defined(SOM_Module_histaticpanels_Source)
- #if PRAGMA_IMPORT_SUPPORTED
- #pragma import list HIStaticPanelClassData
- #endif
- #endif
-
-
- /*
- * New macro for HIStaticPanel
- */
- #define HIStaticPanelNew() somNewObject(HIStaticPanel)
-
- /*
- * New Method: InitStaticPanel
- */
- typedef OSStatus (SOMLINK *somTD_HIStaticPanel_InitStaticPanel)(HIStaticPanel *somSelf, Environment *ev,
- RefLabel* identifier,
- HIWindow* window,
- Rect* bounds);
- #define somMD_HIStaticPanel_InitStaticPanel "::HIStaticPanel::InitStaticPanel"
- #define HIStaticPanel_InitStaticPanel(somSelf,ev,identifier,window,bounds) \
- (SOM_Resolve(somSelf, HIStaticPanel, InitStaticPanel) \
- (somSelf,ev,identifier,window,bounds))
- #ifndef SOMGD_InitStaticPanel
- #if defined _InitStaticPanel || defined __InitStaticPanel
- #undef _InitStaticPanel
- #undef __InitStaticPanel
- #define SOMGD_InitStaticPanel 1
- #else
- #define _InitStaticPanel HIStaticPanel_InitStaticPanel
- #endif /* _InitStaticPanel */
- #endif /* SOMGD_InitStaticPanel */
- #ifndef SOM_DONT_USE_INHERITED_MACROS
- #define HIStaticPanel_GetEmbeddingParent HIPanel_GetEmbeddingParent
- #define HIStaticPanel_InitPanel HIPanel_InitPanel
- #define HIStaticPanel_RegisterInterestInAppleEvent HIPanel_RegisterInterestInAppleEvent
- #define HIStaticPanel_HasValidContent HIPanel_HasValidContent
- #define HIStaticPanel_GetDeepCollectionItemData HIPanel_GetDeepCollectionItemData
- #define HIStaticPanel_GetWindow HIObject_GetWindow
- #define HIStaticPanel_GetPort HIObject_GetPort
- #define HIStaticPanel_GetRefLabel HIObject_GetRefLabel
- #define HIStaticPanel_GetCollection HIObject_GetCollection
- #define HIStaticPanel_Init HIObject_Init
- #define HIStaticPanel_Terminate HIObject_Terminate
- #define HIStaticPanel_Clone HIObject_Clone
- #define HIStaticPanel_Release HIObject_Release
- #define HIStaticPanel_GetOwnerCount HIObject_GetOwnerCount
- #define HIStaticPanel_InitFromAERecord HIObject_InitFromAERecord
- #define HIStaticPanel_WriteToAERecord HIObject_WriteToAERecord
- #define HIStaticPanel_CalculateOptimalSize HIObject_CalculateOptimalSize
- #define HIStaticPanel_GetBoundingRect HIObject_GetBoundingRect
- #define HIStaticPanel_SetBoundingRect HIObject_SetBoundingRect
- #define HIStaticPanel_SetPosition HIObject_SetPosition
- #define HIStaticPanel_SetSize HIObject_SetSize
- #define HIStaticPanel_GetUpdateRect HIObject_GetUpdateRect
- #define HIStaticPanel_Enable HIObject_Enable
- #define HIStaticPanel_Disable HIObject_Disable
- #define HIStaticPanel_IsEnabled HIObject_IsEnabled
- #define HIStaticPanel_Show HIObject_Show
- #define HIStaticPanel_Hide HIObject_Hide
- #define HIStaticPanel_IsVisible HIObject_IsVisible
- #define HIStaticPanel_HandleAppleEvent HIObject_HandleAppleEvent
- #define HIStaticPanel_HandleActivate HIObject_HandleActivate
- #define HIStaticPanel_HandleDeactivate HIObject_HandleDeactivate
- #define HIStaticPanel_HandleNavigation HIObject_HandleNavigation
- #define HIStaticPanel_HandleMouseDownInContent HIObject_HandleMouseDownInContent
- #define HIStaticPanel_HandleMouseMovedInContent HIObject_HandleMouseMovedInContent
- #define HIStaticPanel_HandleMouseStoppedMovingInContent HIObject_HandleMouseStoppedMovingInContent
- #define HIStaticPanel_HandleMouseUpInContent HIObject_HandleMouseUpInContent
- #define HIStaticPanel_TakeUserInputFocus HIObject_TakeUserInputFocus
- #define HIStaticPanel_ReleaseUserInputFocus HIObject_ReleaseUserInputFocus
- #define HIStaticPanel_HasUserInputFocus HIObject_HasUserInputFocus
- #define HIStaticPanel_CanReleaseUserInputFocus HIObject_CanReleaseUserInputFocus
- #define HIStaticPanel_SetUserInputFocusFlags HIObject_SetUserInputFocusFlags
- #define HIStaticPanel_GetUserInputFocusFlags HIObject_GetUserInputFocusFlags
- #define HIStaticPanel_SetTitle HIObject_SetTitle
- #define HIStaticPanel_GetTitle HIObject_GetTitle
- #define HIStaticPanel_Draw HIObject_Draw
- #define HIStaticPanel_Erase HIObject_Erase
- #define HIStaticPanel_Invalidate HIObject_Invalidate
- #define HIStaticPanel_GetDrawingMode HIObject_GetDrawingMode
- #define HIStaticPanel_SetDrawingMode HIObject_SetDrawingMode
- #define HIStaticPanel_SetBackgroundPattern HIObject_SetBackgroundPattern
- #define HIStaticPanel_GetBackgroundPattern HIObject_GetBackgroundPattern
- #define HIStaticPanel_Cut HIObject_Cut
- #define HIStaticPanel_Copy HIObject_Copy
- #define HIStaticPanel_Paste HIObject_Paste
- #define HIStaticPanel_Clear HIObject_Clear
- #define HIStaticPanel_GetClipboardSupportFlags HIObject_GetClipboardSupportFlags
- #define HIStaticPanel_AddStateChangeCallback HIObject_AddStateChangeCallback
- #define HIStaticPanel_RemoveStateChangeCallback HIObject_RemoveStateChangeCallback
- #define HIStaticPanel_GetHIObjectFromRefLabel HIObject_GetHIObjectFromRefLabel
- #define HIStaticPanel_GetNewHIObject HIObject_GetNewHIObject
- #define HIStaticPanel_GetNewHIObjectFromResource HIObject_GetNewHIObjectFromResource
- #define HIStaticPanel_DrawContent HIObject_DrawContent
- #define HIStaticPanel_EraseContent HIObject_EraseContent
- #define HIStaticPanel_TranslatePoint HIObject_TranslatePoint
- #define HIStaticPanel_TranslateRect HIObject_TranslateRect
- #define HIStaticPanel_StateChanged HIObject_StateChanged
- #define HIStaticPanel_SetClipboardSupportFlags HIObject_SetClipboardSupportFlags
- #define HIStaticPanel_Verify HIObject_Verify
- #define HIStaticPanel_somInit SOMObject_somInit
- #define HIStaticPanel_somUninit SOMObject_somUninit
- #define HIStaticPanel_somDuplicateReference SOMObject_somDuplicateReference
- #define HIStaticPanel_somCompareReference SOMObject_somCompareReference
- #define HIStaticPanel_somRelease SOMObject_somRelease
- #define HIStaticPanel_somFree SOMObject_somFree
- #define HIStaticPanel_somCanDelete SOMObject_somCanDelete
- #define HIStaticPanel_somGetClass SOMObject_somGetClass
- #define HIStaticPanel_somGetClassName SOMObject_somGetClassName
- #define HIStaticPanel_somGetSize SOMObject_somGetSize
- #define HIStaticPanel_somIsA SOMObject_somIsA
- #define HIStaticPanel_somRespondsTo SOMObject_somRespondsTo
- #define HIStaticPanel_somIsInstanceOf SOMObject_somIsInstanceOf
- #define HIStaticPanel_somDispatch SOMObject_somDispatch
- #define HIStaticPanel_somClassDispatch SOMObject_somClassDispatch
- #define HIStaticPanel_somCastObj SOMObject_somCastObj
- #define HIStaticPanel_somResetObj SOMObject_somResetObj
- #define HIStaticPanel_somPrintSelf SOMObject_somPrintSelf
- #define HIStaticPanel_somDumpSelf SOMObject_somDumpSelf
- #define HIStaticPanel_somDumpSelfInt SOMObject_somDumpSelfInt
- #endif /* SOM_DONT_USE_INHERITED_MACROS */
-
- #endif /* SOM_HIStaticPanel_h */
-
- #ifndef SOM_HIPicture_h
- #define SOM_HIPicture_h
-
-
- #include <som.h>
-
- /*
- * -- This emitter treats Method Tokens as Thunks by default.
- * -- Use the sc modifier "nothunks" to change this default
- */
- #undef somresolve_
- #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
-
- /*
- * Define the class name as an object type
- */
- #ifndef HIPicture
- #define HIPicture SOMObject
- #endif
- #include <HIStaticPanels.h>
-
- /*
- * Start of user-defined types:
- */
-
- /*
- * End of user-defined types.
- */
-
- #define HIPicture_MajorVersion 0
- #define HIPicture_MinorVersion 0
-
- /*
- * External name shortening if required
- */
- #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
- #define HIPictureClassData d
- #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
- /*--------------Migration------------*/
-
- #ifdef OLDIBMSOMAPISUPPORT
- #define HIPicture_classObj somNewClassReference(HIPicture)
- #define _HIPicture HIPicture_classObj
- #define HIPictureCClassData HIPictureClassData
- #define HIPictureNewClass(major,minor) somNewVersionedClassReference(HIPicture,major,minor)
- #endif
-
- /* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
- #define HIPictureMetaClass SOMClass
-
- #if PRAGMA_ALIGN_SUPPORTED
- # pragma options align=power
- #endif
-
- /*
- * Declare the class data structure
- */
- SOMEXTERN struct HIPictureClassDataStructure {
- #ifdef OLDIBMSOMAPISUPPORT
- SOMAny *classObject; /* always zero, use somNewClassReference instead */
- #else
- long zero;
- #endif
- somStaticClassInfo *sci;
- somDToken instanceDataToken;
- long reserved [3];
- somMToken InitPicture;
- somMToken GetPicture;
- somMToken SetPicture;
- } SOMDLINK HIPictureClassData;
-
- #if PRAGMA_ALIGN_SUPPORTED
- # pragma options align=reset
- #endif
-
- #if !defined(HIPicture_Class_Source) && !defined(SOM_Module_histaticpanels_Source)
- #if PRAGMA_IMPORT_SUPPORTED
- #pragma import list HIPictureClassData
- #endif
- #endif
-
-
- /*
- * New macro for HIPicture
- */
- #define HIPictureNew() somNewObject(HIPicture)
-
- /*
- * New Method: InitPicture
- */
- typedef OSStatus (SOMLINK *somTD_HIPicture_InitPicture)(HIPicture *somSelf, Environment *ev,
- RefLabel* identifier,
- HIWindow* window,
- Rect* bounds,
- PicHandle picture);
- #define somMD_HIPicture_InitPicture "::HIPicture::InitPicture"
- #define HIPicture_InitPicture(somSelf,ev,identifier,window,bounds,picture) \
- (SOM_Resolve(somSelf, HIPicture, InitPicture) \
- (somSelf,ev,identifier,window,bounds,picture))
- #ifndef SOMGD_InitPicture
- #if defined _InitPicture || defined __InitPicture
- #undef _InitPicture
- #undef __InitPicture
- #define SOMGD_InitPicture 1
- #else
- #define _InitPicture HIPicture_InitPicture
- #endif /* _InitPicture */
- #endif /* SOMGD_InitPicture */
-
- /*
- * New Method: GetPicture
- */
- typedef PicHandle (SOMLINK *somTD_HIPicture_GetPicture)(HIPicture *somSelf, Environment *ev);
- #define somMD_HIPicture_GetPicture "::HIPicture::GetPicture"
- #define HIPicture_GetPicture(somSelf,ev) \
- (SOM_Resolve(somSelf, HIPicture, GetPicture) \
- (somSelf,ev))
- #ifndef SOMGD_GetPicture
- #if defined _GetPicture || defined __GetPicture
- #undef _GetPicture
- #undef __GetPicture
- #define SOMGD_GetPicture 1
- #else
- #define _GetPicture HIPicture_GetPicture
- #endif /* _GetPicture */
- #endif /* SOMGD_GetPicture */
-
- /*
- * New Method: SetPicture
- */
- typedef void (SOMLINK *somTD_HIPicture_SetPicture)(HIPicture *somSelf, Environment *ev,
- PicHandle picture);
- #define somMD_HIPicture_SetPicture "::HIPicture::SetPicture"
- #define HIPicture_SetPicture(somSelf,ev,picture) \
- (SOM_Resolve(somSelf, HIPicture, SetPicture) \
- (somSelf,ev,picture))
- #ifndef SOMGD_SetPicture
- #if defined _SetPicture || defined __SetPicture
- #undef _SetPicture
- #undef __SetPicture
- #define SOMGD_SetPicture 1
- #else
- #define _SetPicture HIPicture_SetPicture
- #endif /* _SetPicture */
- #endif /* SOMGD_SetPicture */
- #ifndef SOM_DONT_USE_INHERITED_MACROS
- #define HIPicture_InitStaticPanel HIStaticPanel_InitStaticPanel
- #define HIPicture_GetEmbeddingParent HIPanel_GetEmbeddingParent
- #define HIPicture_InitPanel HIPanel_InitPanel
- #define HIPicture_RegisterInterestInAppleEvent HIPanel_RegisterInterestInAppleEvent
- #define HIPicture_HasValidContent HIPanel_HasValidContent
- #define HIPicture_GetDeepCollectionItemData HIPanel_GetDeepCollectionItemData
- #define HIPicture_GetWindow HIObject_GetWindow
- #define HIPicture_GetPort HIObject_GetPort
- #define HIPicture_GetRefLabel HIObject_GetRefLabel
- #define HIPicture_GetCollection HIObject_GetCollection
- #define HIPicture_Init HIObject_Init
- #define HIPicture_Terminate HIObject_Terminate
- #define HIPicture_Clone HIObject_Clone
- #define HIPicture_Release HIObject_Release
- #define HIPicture_GetOwnerCount HIObject_GetOwnerCount
- #define HIPicture_InitFromAERecord HIObject_InitFromAERecord
- #define HIPicture_WriteToAERecord HIObject_WriteToAERecord
- #define HIPicture_CalculateOptimalSize HIObject_CalculateOptimalSize
- #define HIPicture_GetBoundingRect HIObject_GetBoundingRect
- #define HIPicture_SetBoundingRect HIObject_SetBoundingRect
- #define HIPicture_SetPosition HIObject_SetPosition
- #define HIPicture_SetSize HIObject_SetSize
- #define HIPicture_GetUpdateRect HIObject_GetUpdateRect
- #define HIPicture_Enable HIObject_Enable
- #define HIPicture_Disable HIObject_Disable
- #define HIPicture_IsEnabled HIObject_IsEnabled
- #define HIPicture_Show HIObject_Show
- #define HIPicture_Hide HIObject_Hide
- #define HIPicture_IsVisible HIObject_IsVisible
- #define HIPicture_HandleAppleEvent HIObject_HandleAppleEvent
- #define HIPicture_HandleActivate HIObject_HandleActivate
- #define HIPicture_HandleDeactivate HIObject_HandleDeactivate
- #define HIPicture_HandleNavigation HIObject_HandleNavigation
- #define HIPicture_HandleMouseDownInContent HIObject_HandleMouseDownInContent
- #define HIPicture_HandleMouseMovedInContent HIObject_HandleMouseMovedInContent
- #define HIPicture_HandleMouseStoppedMovingInContent HIObject_HandleMouseStoppedMovingInContent
- #define HIPicture_HandleMouseUpInContent HIObject_HandleMouseUpInContent
- #define HIPicture_TakeUserInputFocus HIObject_TakeUserInputFocus
- #define HIPicture_ReleaseUserInputFocus HIObject_ReleaseUserInputFocus
- #define HIPicture_HasUserInputFocus HIObject_HasUserInputFocus
- #define HIPicture_CanReleaseUserInputFocus HIObject_CanReleaseUserInputFocus
- #define HIPicture_SetUserInputFocusFlags HIObject_SetUserInputFocusFlags
- #define HIPicture_GetUserInputFocusFlags HIObject_GetUserInputFocusFlags
- #define HIPicture_SetTitle HIObject_SetTitle
- #define HIPicture_GetTitle HIObject_GetTitle
- #define HIPicture_Draw HIObject_Draw
- #define HIPicture_Erase HIObject_Erase
- #define HIPicture_Invalidate HIObject_Invalidate
- #define HIPicture_GetDrawingMode HIObject_GetDrawingMode
- #define HIPicture_SetDrawingMode HIObject_SetDrawingMode
- #define HIPicture_SetBackgroundPattern HIObject_SetBackgroundPattern
- #define HIPicture_GetBackgroundPattern HIObject_GetBackgroundPattern
- #define HIPicture_Cut HIObject_Cut
- #define HIPicture_Copy HIObject_Copy
- #define HIPicture_Paste HIObject_Paste
- #define HIPicture_Clear HIObject_Clear
- #define HIPicture_GetClipboardSupportFlags HIObject_GetClipboardSupportFlags
- #define HIPicture_AddStateChangeCallback HIObject_AddStateChangeCallback
- #define HIPicture_RemoveStateChangeCallback HIObject_RemoveStateChangeCallback
- #define HIPicture_GetHIObjectFromRefLabel HIObject_GetHIObjectFromRefLabel
- #define HIPicture_GetNewHIObject HIObject_GetNewHIObject
- #define HIPicture_GetNewHIObjectFromResource HIObject_GetNewHIObjectFromResource
- #define HIPicture_DrawContent HIObject_DrawContent
- #define HIPicture_EraseContent HIObject_EraseContent
- #define HIPicture_TranslatePoint HIObject_TranslatePoint
- #define HIPicture_TranslateRect HIObject_TranslateRect
- #define HIPicture_StateChanged HIObject_StateChanged
- #define HIPicture_SetClipboardSupportFlags HIObject_SetClipboardSupportFlags
- #define HIPicture_Verify HIObject_Verify
- #define HIPicture_somInit SOMObject_somInit
- #define HIPicture_somUninit SOMObject_somUninit
- #define HIPicture_somDuplicateReference SOMObject_somDuplicateReference
- #define HIPicture_somCompareReference SOMObject_somCompareReference
- #define HIPicture_somRelease SOMObject_somRelease
- #define HIPicture_somFree SOMObject_somFree
- #define HIPicture_somCanDelete SOMObject_somCanDelete
- #define HIPicture_somGetClass SOMObject_somGetClass
- #define HIPicture_somGetClassName SOMObject_somGetClassName
- #define HIPicture_somGetSize SOMObject_somGetSize
- #define HIPicture_somIsA SOMObject_somIsA
- #define HIPicture_somRespondsTo SOMObject_somRespondsTo
- #define HIPicture_somIsInstanceOf SOMObject_somIsInstanceOf
- #define HIPicture_somDispatch SOMObject_somDispatch
- #define HIPicture_somClassDispatch SOMObject_somClassDispatch
- #define HIPicture_somCastObj SOMObject_somCastObj
- #define HIPicture_somResetObj SOMObject_somResetObj
- #define HIPicture_somPrintSelf SOMObject_somPrintSelf
- #define HIPicture_somDumpSelf SOMObject_somDumpSelf
- #define HIPicture_somDumpSelfInt SOMObject_somDumpSelfInt
- #endif /* SOM_DONT_USE_INHERITED_MACROS */
-
- #endif /* SOM_HIPicture_h */
-
- #ifndef SOM_HIIcon_h
- #define SOM_HIIcon_h
-
-
- #include <som.h>
-
- /*
- * -- This emitter treats Method Tokens as Thunks by default.
- * -- Use the sc modifier "nothunks" to change this default
- */
- #undef somresolve_
- #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
-
- /*
- * Define the class name as an object type
- */
- #ifndef HIIcon
- #define HIIcon SOMObject
- #endif
- #include <HIStaticPanels.h>
-
- /*
- * Start of user-defined types:
- */
-
- /*
- * End of user-defined types.
- */
-
- #define HIIcon_MajorVersion 0
- #define HIIcon_MinorVersion 0
-
- /*
- * External name shortening if required
- */
- #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
- #define HIIconClassData d
- #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
- /*--------------Migration------------*/
-
- #ifdef OLDIBMSOMAPISUPPORT
- #define HIIcon_classObj somNewClassReference(HIIcon)
- #define _HIIcon HIIcon_classObj
- #define HIIconCClassData HIIconClassData
- #define HIIconNewClass(major,minor) somNewVersionedClassReference(HIIcon,major,minor)
- #endif
-
- /* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
- #define HIIconMetaClass SOMClass
-
- #if PRAGMA_ALIGN_SUPPORTED
- # pragma options align=power
- #endif
-
- /*
- * Declare the class data structure
- */
- SOMEXTERN struct HIIconClassDataStructure {
- #ifdef OLDIBMSOMAPISUPPORT
- SOMAny *classObject; /* always zero, use somNewClassReference instead */
- #else
- long zero;
- #endif
- somStaticClassInfo *sci;
- somDToken instanceDataToken;
- long reserved [3];
- somMToken InitIcon;
- somMToken GetIcon;
- somMToken SetIcon;
- somMToken GetAlignment;
- somMToken SetAlignment;
- somMToken GetTransform;
- somMToken SetTransform;
- } SOMDLINK HIIconClassData;
-
- #if PRAGMA_ALIGN_SUPPORTED
- # pragma options align=reset
- #endif
-
- #if !defined(HIIcon_Class_Source) && !defined(SOM_Module_histaticpanels_Source)
- #if PRAGMA_IMPORT_SUPPORTED
- #pragma import list HIIconClassData
- #endif
- #endif
-
-
- /*
- * New macro for HIIcon
- */
- #define HIIconNew() somNewObject(HIIcon)
-
- /*
- * New Method: InitIcon
- */
- typedef OSStatus (SOMLINK *somTD_HIIcon_InitIcon)(HIIcon *somSelf, Environment *ev,
- RefLabel* identifier,
- HIWindow* window,
- Rect* bounds,
- Handle iconSuite);
- #define somMD_HIIcon_InitIcon "::HIIcon::InitIcon"
- #define HIIcon_InitIcon(somSelf,ev,identifier,window,bounds,iconSuite) \
- (SOM_Resolve(somSelf, HIIcon, InitIcon) \
- (somSelf,ev,identifier,window,bounds,iconSuite))
- #ifndef SOMGD_InitIcon
- #if defined _InitIcon || defined __InitIcon
- #undef _InitIcon
- #undef __InitIcon
- #define SOMGD_InitIcon 1
- #else
- #define _InitIcon HIIcon_InitIcon
- #endif /* _InitIcon */
- #endif /* SOMGD_InitIcon */
-
- /*
- * New Method: GetIcon
- */
- typedef Handle (SOMLINK *somTD_HIIcon_GetIcon)(HIIcon *somSelf, Environment *ev);
- #define somMD_HIIcon_GetIcon "::HIIcon::GetIcon"
- #define HIIcon_GetIcon(somSelf,ev) \
- (SOM_Resolve(somSelf, HIIcon, GetIcon) \
- (somSelf,ev))
- #ifndef SOMGD_GetIcon
- #if defined _GetIcon || defined __GetIcon
- #undef _GetIcon
- #undef __GetIcon
- #define SOMGD_GetIcon 1
- #else
- #define _GetIcon HIIcon_GetIcon
- #endif /* _GetIcon */
- #endif /* SOMGD_GetIcon */
-
- /*
- * New Method: SetIcon
- */
- typedef void (SOMLINK *somTD_HIIcon_SetIcon)(HIIcon *somSelf, Environment *ev,
- Handle iconSuite);
- #define somMD_HIIcon_SetIcon "::HIIcon::SetIcon"
- #define HIIcon_SetIcon(somSelf,ev,iconSuite) \
- (SOM_Resolve(somSelf, HIIcon, SetIcon) \
- (somSelf,ev,iconSuite))
- #ifndef SOMGD_SetIcon
- #if defined _SetIcon || defined __SetIcon
- #undef _SetIcon
- #undef __SetIcon
- #define SOMGD_SetIcon 1
- #else
- #define _SetIcon HIIcon_SetIcon
- #endif /* _SetIcon */
- #endif /* SOMGD_SetIcon */
-
- /*
- * New Method: GetAlignment
- */
- typedef IconAlignmentType (SOMLINK *somTD_HIIcon_GetAlignment)(HIIcon *somSelf, Environment *ev);
- #define somMD_HIIcon_GetAlignment "::HIIcon::GetAlignment"
- #define HIIcon_GetAlignment(somSelf,ev) \
- (SOM_Resolve(somSelf, HIIcon, GetAlignment) \
- (somSelf,ev))
- #ifndef SOMGD_GetAlignment
- #if defined _GetAlignment || defined __GetAlignment
- #undef _GetAlignment
- #undef __GetAlignment
- #define SOMGD_GetAlignment 1
- #else
- #define _GetAlignment HIIcon_GetAlignment
- #endif /* _GetAlignment */
- #endif /* SOMGD_GetAlignment */
-
- /*
- * New Method: SetAlignment
- */
- typedef void (SOMLINK *somTD_HIIcon_SetAlignment)(HIIcon *somSelf, Environment *ev,
- IconAlignmentType alignment);
- #define somMD_HIIcon_SetAlignment "::HIIcon::SetAlignment"
- #define HIIcon_SetAlignment(somSelf,ev,alignment) \
- (SOM_Resolve(somSelf, HIIcon, SetAlignment) \
- (somSelf,ev,alignment))
- #ifndef SOMGD_SetAlignment
- #if defined _SetAlignment || defined __SetAlignment
- #undef _SetAlignment
- #undef __SetAlignment
- #define SOMGD_SetAlignment 1
- #else
- #define _SetAlignment HIIcon_SetAlignment
- #endif /* _SetAlignment */
- #endif /* SOMGD_SetAlignment */
-
- /*
- * New Method: GetTransform
- */
- typedef IconTransformType (SOMLINK *somTD_HIIcon_GetTransform)(HIIcon *somSelf, Environment *ev);
- #define somMD_HIIcon_GetTransform "::HIIcon::GetTransform"
- #define HIIcon_GetTransform(somSelf,ev) \
- (SOM_Resolve(somSelf, HIIcon, GetTransform) \
- (somSelf,ev))
- #ifndef SOMGD_GetTransform
- #if defined _GetTransform || defined __GetTransform
- #undef _GetTransform
- #undef __GetTransform
- #define SOMGD_GetTransform 1
- #else
- #define _GetTransform HIIcon_GetTransform
- #endif /* _GetTransform */
- #endif /* SOMGD_GetTransform */
-
- /*
- * New Method: SetTransform
- */
- typedef void (SOMLINK *somTD_HIIcon_SetTransform)(HIIcon *somSelf, Environment *ev,
- IconTransformType transform);
- #define somMD_HIIcon_SetTransform "::HIIcon::SetTransform"
- #define HIIcon_SetTransform(somSelf,ev,transform) \
- (SOM_Resolve(somSelf, HIIcon, SetTransform) \
- (somSelf,ev,transform))
- #ifndef SOMGD_SetTransform
- #if defined _SetTransform || defined __SetTransform
- #undef _SetTransform
- #undef __SetTransform
- #define SOMGD_SetTransform 1
- #else
- #define _SetTransform HIIcon_SetTransform
- #endif /* _SetTransform */
- #endif /* SOMGD_SetTransform */
- #ifndef SOM_DONT_USE_INHERITED_MACROS
- #define HIIcon_InitStaticPanel HIStaticPanel_InitStaticPanel
- #define HIIcon_GetEmbeddingParent HIPanel_GetEmbeddingParent
- #define HIIcon_InitPanel HIPanel_InitPanel
- #define HIIcon_RegisterInterestInAppleEvent HIPanel_RegisterInterestInAppleEvent
- #define HIIcon_HasValidContent HIPanel_HasValidContent
- #define HIIcon_GetDeepCollectionItemData HIPanel_GetDeepCollectionItemData
- #define HIIcon_GetWindow HIObject_GetWindow
- #define HIIcon_GetPort HIObject_GetPort
- #define HIIcon_GetRefLabel HIObject_GetRefLabel
- #define HIIcon_GetCollection HIObject_GetCollection
- #define HIIcon_Init HIObject_Init
- #define HIIcon_Terminate HIObject_Terminate
- #define HIIcon_Clone HIObject_Clone
- #define HIIcon_Release HIObject_Release
- #define HIIcon_GetOwnerCount HIObject_GetOwnerCount
- #define HIIcon_InitFromAERecord HIObject_InitFromAERecord
- #define HIIcon_WriteToAERecord HIObject_WriteToAERecord
- #define HIIcon_CalculateOptimalSize HIObject_CalculateOptimalSize
- #define HIIcon_GetBoundingRect HIObject_GetBoundingRect
- #define HIIcon_SetBoundingRect HIObject_SetBoundingRect
- #define HIIcon_SetPosition HIObject_SetPosition
- #define HIIcon_SetSize HIObject_SetSize
- #define HIIcon_GetUpdateRect HIObject_GetUpdateRect
- #define HIIcon_Enable HIObject_Enable
- #define HIIcon_Disable HIObject_Disable
- #define HIIcon_IsEnabled HIObject_IsEnabled
- #define HIIcon_Show HIObject_Show
- #define HIIcon_Hide HIObject_Hide
- #define HIIcon_IsVisible HIObject_IsVisible
- #define HIIcon_HandleAppleEvent HIObject_HandleAppleEvent
- #define HIIcon_HandleActivate HIObject_HandleActivate
- #define HIIcon_HandleDeactivate HIObject_HandleDeactivate
- #define HIIcon_HandleNavigation HIObject_HandleNavigation
- #define HIIcon_HandleMouseDownInContent HIObject_HandleMouseDownInContent
- #define HIIcon_HandleMouseMovedInContent HIObject_HandleMouseMovedInContent
- #define HIIcon_HandleMouseStoppedMovingInContent HIObject_HandleMouseStoppedMovingInContent
- #define HIIcon_HandleMouseUpInContent HIObject_HandleMouseUpInContent
- #define HIIcon_TakeUserInputFocus HIObject_TakeUserInputFocus
- #define HIIcon_ReleaseUserInputFocus HIObject_ReleaseUserInputFocus
- #define HIIcon_HasUserInputFocus HIObject_HasUserInputFocus
- #define HIIcon_CanReleaseUserInputFocus HIObject_CanReleaseUserInputFocus
- #define HIIcon_SetUserInputFocusFlags HIObject_SetUserInputFocusFlags
- #define HIIcon_GetUserInputFocusFlags HIObject_GetUserInputFocusFlags
- #define HIIcon_SetTitle HIObject_SetTitle
- #define HIIcon_GetTitle HIObject_GetTitle
- #define HIIcon_Draw HIObject_Draw
- #define HIIcon_Erase HIObject_Erase
- #define HIIcon_Invalidate HIObject_Invalidate
- #define HIIcon_GetDrawingMode HIObject_GetDrawingMode
- #define HIIcon_SetDrawingMode HIObject_SetDrawingMode
- #define HIIcon_SetBackgroundPattern HIObject_SetBackgroundPattern
- #define HIIcon_GetBackgroundPattern HIObject_GetBackgroundPattern
- #define HIIcon_Cut HIObject_Cut
- #define HIIcon_Copy HIObject_Copy
- #define HIIcon_Paste HIObject_Paste
- #define HIIcon_Clear HIObject_Clear
- #define HIIcon_GetClipboardSupportFlags HIObject_GetClipboardSupportFlags
- #define HIIcon_AddStateChangeCallback HIObject_AddStateChangeCallback
- #define HIIcon_RemoveStateChangeCallback HIObject_RemoveStateChangeCallback
- #define HIIcon_GetHIObjectFromRefLabel HIObject_GetHIObjectFromRefLabel
- #define HIIcon_GetNewHIObject HIObject_GetNewHIObject
- #define HIIcon_GetNewHIObjectFromResource HIObject_GetNewHIObjectFromResource
- #define HIIcon_DrawContent HIObject_DrawContent
- #define HIIcon_EraseContent HIObject_EraseContent
- #define HIIcon_TranslatePoint HIObject_TranslatePoint
- #define HIIcon_TranslateRect HIObject_TranslateRect
- #define HIIcon_StateChanged HIObject_StateChanged
- #define HIIcon_SetClipboardSupportFlags HIObject_SetClipboardSupportFlags
- #define HIIcon_Verify HIObject_Verify
- #define HIIcon_somInit SOMObject_somInit
- #define HIIcon_somUninit SOMObject_somUninit
- #define HIIcon_somDuplicateReference SOMObject_somDuplicateReference
- #define HIIcon_somCompareReference SOMObject_somCompareReference
- #define HIIcon_somRelease SOMObject_somRelease
- #define HIIcon_somFree SOMObject_somFree
- #define HIIcon_somCanDelete SOMObject_somCanDelete
- #define HIIcon_somGetClass SOMObject_somGetClass
- #define HIIcon_somGetClassName SOMObject_somGetClassName
- #define HIIcon_somGetSize SOMObject_somGetSize
- #define HIIcon_somIsA SOMObject_somIsA
- #define HIIcon_somRespondsTo SOMObject_somRespondsTo
- #define HIIcon_somIsInstanceOf SOMObject_somIsInstanceOf
- #define HIIcon_somDispatch SOMObject_somDispatch
- #define HIIcon_somClassDispatch SOMObject_somClassDispatch
- #define HIIcon_somCastObj SOMObject_somCastObj
- #define HIIcon_somResetObj SOMObject_somResetObj
- #define HIIcon_somPrintSelf SOMObject_somPrintSelf
- #define HIIcon_somDumpSelf SOMObject_somDumpSelf
- #define HIIcon_somDumpSelfInt SOMObject_somDumpSelfInt
- #endif /* SOM_DONT_USE_INHERITED_MACROS */
-
- #endif /* SOM_HIIcon_h */
-
- #ifndef SOM_HICaption_h
- #define SOM_HICaption_h
-
-
- #include <som.h>
-
- /*
- * -- This emitter treats Method Tokens as Thunks by default.
- * -- Use the sc modifier "nothunks" to change this default
- */
- #undef somresolve_
- #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
-
- /*
- * Define the class name as an object type
- */
- #ifndef HICaption
- #define HICaption SOMObject
- #endif
- #include <HIStaticPanels.h>
-
- /*
- * Start of user-defined types:
- */
-
- /*
- * End of user-defined types.
- */
-
- #define HICaption_MajorVersion 0
- #define HICaption_MinorVersion 0
-
- /*
- * External name shortening if required
- */
- #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
- #define HICaptionClassData d
- #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
- /*--------------Migration------------*/
-
- #ifdef OLDIBMSOMAPISUPPORT
- #define HICaption_classObj somNewClassReference(HICaption)
- #define _HICaption HICaption_classObj
- #define HICaptionCClassData HICaptionClassData
- #define HICaptionNewClass(major,minor) somNewVersionedClassReference(HICaption,major,minor)
- #endif
-
- /* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
- #define HICaptionMetaClass SOMClass
-
- #if PRAGMA_ALIGN_SUPPORTED
- # pragma options align=power
- #endif
-
- /*
- * Declare the class data structure
- */
- SOMEXTERN struct HICaptionClassDataStructure {
- #ifdef OLDIBMSOMAPISUPPORT
- SOMAny *classObject; /* always zero, use somNewClassReference instead */
- #else
- long zero;
- #endif
- somStaticClassInfo *sci;
- somDToken instanceDataToken;
- long reserved [3];
- somMToken InitCaption;
- somMToken GetCaption;
- somMToken SetCaption;
- somMToken GetStrike;
- somMToken SetStrike;
- } SOMDLINK HICaptionClassData;
-
- #if PRAGMA_ALIGN_SUPPORTED
- # pragma options align=reset
- #endif
-
- #if !defined(HICaption_Class_Source) && !defined(SOM_Module_histaticpanels_Source)
- #if PRAGMA_IMPORT_SUPPORTED
- #pragma import list HICaptionClassData
- #endif
- #endif
-
-
- /*
- * New macro for HICaption
- */
- #define HICaptionNew() somNewObject(HICaption)
-
- /*
- * New Method: InitCaption
- */
- typedef OSStatus (SOMLINK *somTD_HICaption_InitCaption)(HICaption *somSelf, Environment *ev,
- RefLabel* identifier,
- HIWindow* window,
- Rect* bounds,
- TextObject text);
- #define somMD_HICaption_InitCaption "::HICaption::InitCaption"
- #define HICaption_InitCaption(somSelf,ev,identifier,window,bounds,text) \
- (SOM_Resolve(somSelf, HICaption, InitCaption) \
- (somSelf,ev,identifier,window,bounds,text))
- #ifndef SOMGD_InitCaption
- #if defined _InitCaption || defined __InitCaption
- #undef _InitCaption
- #undef __InitCaption
- #define SOMGD_InitCaption 1
- #else
- #define _InitCaption HICaption_InitCaption
- #endif /* _InitCaption */
- #endif /* SOMGD_InitCaption */
-
- /*
- * New Method: GetCaption
- */
- typedef void (SOMLINK *somTD_HICaption_GetCaption)(HICaption *somSelf, Environment *ev,
- TextObject* caption);
- #define somMD_HICaption_GetCaption "::HICaption::GetCaption"
- #define HICaption_GetCaption(somSelf,ev,caption) \
- (SOM_Resolve(somSelf, HICaption, GetCaption) \
- (somSelf,ev,caption))
- #ifndef SOMGD_GetCaption
- #if defined _GetCaption || defined __GetCaption
- #undef _GetCaption
- #undef __GetCaption
- #define SOMGD_GetCaption 1
- #else
- #define _GetCaption HICaption_GetCaption
- #endif /* _GetCaption */
- #endif /* SOMGD_GetCaption */
-
- /*
- * New Method: SetCaption
- */
- typedef void (SOMLINK *somTD_HICaption_SetCaption)(HICaption *somSelf, Environment *ev,
- TextObject caption);
- #define somMD_HICaption_SetCaption "::HICaption::SetCaption"
- #define HICaption_SetCaption(somSelf,ev,caption) \
- (SOM_Resolve(somSelf, HICaption, SetCaption) \
- (somSelf,ev,caption))
- #ifndef SOMGD_SetCaption
- #if defined _SetCaption || defined __SetCaption
- #undef _SetCaption
- #undef __SetCaption
- #define SOMGD_SetCaption 1
- #else
- #define _SetCaption HICaption_SetCaption
- #endif /* _SetCaption */
- #endif /* SOMGD_SetCaption */
-
- /*
- * New Method: GetStrike
- */
- typedef OSStatus (SOMLINK *somTD_HICaption_GetStrike)(HICaption *somSelf, Environment *ev,
- TextStrikeRef* theStrike);
- #define somMD_HICaption_GetStrike "::HICaption::GetStrike"
- #define HICaption_GetStrike(somSelf,ev,theStrike) \
- (SOM_Resolve(somSelf, HICaption, GetStrike) \
- (somSelf,ev,theStrike))
- #ifndef SOMGD_GetStrike
- #if defined _GetStrike || defined __GetStrike
- #undef _GetStrike
- #undef __GetStrike
- #define SOMGD_GetStrike 1
- #else
- #define _GetStrike HICaption_GetStrike
- #endif /* _GetStrike */
- #endif /* SOMGD_GetStrike */
-
- /*
- * New Method: SetStrike
- */
- typedef OSStatus (SOMLINK *somTD_HICaption_SetStrike)(HICaption *somSelf, Environment *ev,
- TextStrikeRef theStrike);
- #define somMD_HICaption_SetStrike "::HICaption::SetStrike"
- #define HICaption_SetStrike(somSelf,ev,theStrike) \
- (SOM_Resolve(somSelf, HICaption, SetStrike) \
- (somSelf,ev,theStrike))
- #ifndef SOMGD_SetStrike
- #if defined _SetStrike || defined __SetStrike
- #undef _SetStrike
- #undef __SetStrike
- #define SOMGD_SetStrike 1
- #else
- #define _SetStrike HICaption_SetStrike
- #endif /* _SetStrike */
- #endif /* SOMGD_SetStrike */
- #ifndef SOM_DONT_USE_INHERITED_MACROS
- #define HICaption_InitStaticPanel HIStaticPanel_InitStaticPanel
- #define HICaption_GetEmbeddingParent HIPanel_GetEmbeddingParent
- #define HICaption_InitPanel HIPanel_InitPanel
- #define HICaption_RegisterInterestInAppleEvent HIPanel_RegisterInterestInAppleEvent
- #define HICaption_HasValidContent HIPanel_HasValidContent
- #define HICaption_GetDeepCollectionItemData HIPanel_GetDeepCollectionItemData
- #define HICaption_GetWindow HIObject_GetWindow
- #define HICaption_GetPort HIObject_GetPort
- #define HICaption_GetRefLabel HIObject_GetRefLabel
- #define HICaption_GetCollection HIObject_GetCollection
- #define HICaption_Init HIObject_Init
- #define HICaption_Terminate HIObject_Terminate
- #define HICaption_Clone HIObject_Clone
- #define HICaption_Release HIObject_Release
- #define HICaption_GetOwnerCount HIObject_GetOwnerCount
- #define HICaption_InitFromAERecord HIObject_InitFromAERecord
- #define HICaption_WriteToAERecord HIObject_WriteToAERecord
- #define HICaption_CalculateOptimalSize HIObject_CalculateOptimalSize
- #define HICaption_GetBoundingRect HIObject_GetBoundingRect
- #define HICaption_SetBoundingRect HIObject_SetBoundingRect
- #define HICaption_SetPosition HIObject_SetPosition
- #define HICaption_SetSize HIObject_SetSize
- #define HICaption_GetUpdateRect HIObject_GetUpdateRect
- #define HICaption_Enable HIObject_Enable
- #define HICaption_Disable HIObject_Disable
- #define HICaption_IsEnabled HIObject_IsEnabled
- #define HICaption_Show HIObject_Show
- #define HICaption_Hide HIObject_Hide
- #define HICaption_IsVisible HIObject_IsVisible
- #define HICaption_HandleAppleEvent HIObject_HandleAppleEvent
- #define HICaption_HandleActivate HIObject_HandleActivate
- #define HICaption_HandleDeactivate HIObject_HandleDeactivate
- #define HICaption_HandleNavigation HIObject_HandleNavigation
- #define HICaption_HandleMouseDownInContent HIObject_HandleMouseDownInContent
- #define HICaption_HandleMouseMovedInContent HIObject_HandleMouseMovedInContent
- #define HICaption_HandleMouseStoppedMovingInContent HIObject_HandleMouseStoppedMovingInContent
- #define HICaption_HandleMouseUpInContent HIObject_HandleMouseUpInContent
- #define HICaption_TakeUserInputFocus HIObject_TakeUserInputFocus
- #define HICaption_ReleaseUserInputFocus HIObject_ReleaseUserInputFocus
- #define HICaption_HasUserInputFocus HIObject_HasUserInputFocus
- #define HICaption_CanReleaseUserInputFocus HIObject_CanReleaseUserInputFocus
- #define HICaption_SetUserInputFocusFlags HIObject_SetUserInputFocusFlags
- #define HICaption_GetUserInputFocusFlags HIObject_GetUserInputFocusFlags
- #define HICaption_SetTitle HIObject_SetTitle
- #define HICaption_GetTitle HIObject_GetTitle
- #define HICaption_Draw HIObject_Draw
- #define HICaption_Erase HIObject_Erase
- #define HICaption_Invalidate HIObject_Invalidate
- #define HICaption_GetDrawingMode HIObject_GetDrawingMode
- #define HICaption_SetDrawingMode HIObject_SetDrawingMode
- #define HICaption_SetBackgroundPattern HIObject_SetBackgroundPattern
- #define HICaption_GetBackgroundPattern HIObject_GetBackgroundPattern
- #define HICaption_Cut HIObject_Cut
- #define HICaption_Copy HIObject_Copy
- #define HICaption_Paste HIObject_Paste
- #define HICaption_Clear HIObject_Clear
- #define HICaption_GetClipboardSupportFlags HIObject_GetClipboardSupportFlags
- #define HICaption_AddStateChangeCallback HIObject_AddStateChangeCallback
- #define HICaption_RemoveStateChangeCallback HIObject_RemoveStateChangeCallback
- #define HICaption_GetHIObjectFromRefLabel HIObject_GetHIObjectFromRefLabel
- #define HICaption_GetNewHIObject HIObject_GetNewHIObject
- #define HICaption_GetNewHIObjectFromResource HIObject_GetNewHIObjectFromResource
- #define HICaption_DrawContent HIObject_DrawContent
- #define HICaption_EraseContent HIObject_EraseContent
- #define HICaption_TranslatePoint HIObject_TranslatePoint
- #define HICaption_TranslateRect HIObject_TranslateRect
- #define HICaption_StateChanged HIObject_StateChanged
- #define HICaption_SetClipboardSupportFlags HIObject_SetClipboardSupportFlags
- #define HICaption_Verify HIObject_Verify
- #define HICaption_somInit SOMObject_somInit
- #define HICaption_somUninit SOMObject_somUninit
- #define HICaption_somDuplicateReference SOMObject_somDuplicateReference
- #define HICaption_somCompareReference SOMObject_somCompareReference
- #define HICaption_somRelease SOMObject_somRelease
- #define HICaption_somFree SOMObject_somFree
- #define HICaption_somCanDelete SOMObject_somCanDelete
- #define HICaption_somGetClass SOMObject_somGetClass
- #define HICaption_somGetClassName SOMObject_somGetClassName
- #define HICaption_somGetSize SOMObject_somGetSize
- #define HICaption_somIsA SOMObject_somIsA
- #define HICaption_somRespondsTo SOMObject_somRespondsTo
- #define HICaption_somIsInstanceOf SOMObject_somIsInstanceOf
- #define HICaption_somDispatch SOMObject_somDispatch
- #define HICaption_somClassDispatch SOMObject_somClassDispatch
- #define HICaption_somCastObj SOMObject_somCastObj
- #define HICaption_somResetObj SOMObject_somResetObj
- #define HICaption_somPrintSelf SOMObject_somPrintSelf
- #define HICaption_somDumpSelf SOMObject_somDumpSelf
- #define HICaption_somDumpSelfInt SOMObject_somDumpSelfInt
- #endif /* SOM_DONT_USE_INHERITED_MACROS */
-
- #endif /* SOM_HICaption_h */
-